package com.snail.xgcd.service;

import com.snail.xgcd.bean.Member;
import com.snail.xgcd.bean.Single;

public interface MemberService {

    Single findAll(Member member,Integer pageSize,Integer pageNum);

    Single deleteByPrimaryKey(Long id);

    Single insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Long id);

    Single updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);

    Single charge(String Id ,String money);

    Single consume(String id ,String money);

}
